CC(X): Semantic Combination of Congruence Closure with Solvable Theories
نویسندگان
چکیده
We present a generic congruence closure algorithm for deciding ground formulas in the combination of the theory of equality with uninterpreted symbols and an arbitrary built-in solvable theory X. Our algorithm CC(X) is reminiscent of Shostak combination: it maintains a union-find data-structure modulo X from which maximal information about implied equalities can be directly used for congruence closure. CC(X) diverges from Shostak’s approach by the use of semantic values for class representatives instead of canonized terms. Using semantic values truly reflects the actual implementation of the decision procedure for X. It also enforces to entirely rebuild the algorithm since global canonization, which is at the heart of Shostak combination, is no longer feasible with semantic values. CC(X) has been implemented in Ocaml and is at the core of Ergo, a new automated theorem prover dedicated to program verification.
منابع مشابه
Combining Shostak Theories
Ground decision procedures for combinations of theories are used in many systems for automated deduction. There are two basic paradigms for combining decision procedures. The Nelson–Oppen method combines decision procedures for disjoint theories by exchanging equality information on the shared variables. In Shostak’s method, the combination of the theory of pure equality with canonizable and so...
متن کاملOn Shostak's Decision Procedure for Combinations of Theories
Decision procedures are increasingly being employed for deciding or simplifying propositional combinations of ground equalities involving uninterpreted function symbols, linear arithmetic, arrays, and other theories. Two approaches for constructing decision procedures for combinations of ground theories were pioneered in the late seventies. In the approach of Nelson and Oppen, decision procedur...
متن کاملOn Shostak's Decision Procedure for Combinations of Theories ? to Be Presented at Cade '96
Decision procedures are increasingly being employed for deciding or simplifying propositional combinations of ground equalities involving uninterpreted function symbols, linear arithmetic, arrays, and other theories. Two approaches for constructing decision procedures for combinations of ground theories were pioneered in the late seventies. In the approach of Nelson and Oppen, decision procedur...
متن کاملNP-completeness of small conflict set generation for congruence closure
The efficiency of satisfiability modulo theories (SMT) solvers is dependent on the capability of theory reasoners to provide small conflict sets, i.e. small unsatisfiable subsets from unsatisfiable sets of literals. Decision procedures for uninterpreted symbols (i.e. congruence closure algorithms) date back from the very early days of SMT. Nevertheless, to the best of our knowledge, the complex...
متن کاملSyntacticness, Cycle-Syntacticness, and Shallow Theories
Solving equations in the free algebra T (F; X) (i.e. uniication) uses the two rules: f(~ s) = f(~ t) ! ~ s = ~ t (decomposition) and sx] = x !? (occur-check). These two rules are not correct in quotients of T (F; X) by a nitely generated congruence = E. Following C. Kirchner, we rst deene classes of equational theories (called syntactic and cycle syntactic respectively) for which it is possible...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 198 شماره
صفحات -
تاریخ انتشار 2008